﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:WickedFlame.Util">
    
    <Style TargetType="{x:Type local:CanvasManager}">
        <!--<Setter Property="Background" Value="{DynamicResource {ComponentResourceKey {x:Type gd:DockingManager}, {x:Static gd:GenDockBrushes.DefaultBackgroundBrush}}}"/>-->
        <!--<Setter Property="Background" Value="#FFFFFFFF"/>-->
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Control.Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type local:CanvasManager}">
                    <Grid>
                        <!--<Grid.RowDefinitions>
                            <RowDefinition/>
                            <RowDefinition/>
                        </Grid.RowDefinitions>-->
                        <!--<Border  
                        Focusable="True"
                        BorderThickness="1,1,1.5,1.5" 
					    BorderBrush="#FF565656"
                        SnapsToDevicePixels="False"
                        CornerRadius="2"
                        >-->
                        <!--<Border  
                        BorderThickness="1,1,1.5,1.5" 
					    BorderBrush="#FF565656"
                        CornerRadius="2"
                        >-->
                            <Viewbox x:Name="scaleView" >
                                <ContentPresenter x:Name="PART_SelectedContentHost"
                                    ContentSource="SelectedContent"
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
									SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
                                    />
                            <!--<ContentPresenter x:Name="PART_SelectedContentHost"
                                    ContentSource="SelectedItem"
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
									SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
                                    />-->
                        </Viewbox>
                        <!--</Border>-->

                        <!--<Border  Grid.Row="1"
                        Focusable="True"
                        BorderThickness="1,1,1.5,1.5" 
					    BorderBrush="#FF565656"
                        SnapsToDevicePixels="False"
                        CornerRadius="2"
                        >
                            <ContentPresenter x:Name="PART_TestContentHost"
                                    ContentSource="TestContent"
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
									SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
                                    />
                        </Border>-->
                    </Grid>

                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
</ResourceDictionary>